package org.jeecg.modules.demo.erp.AccountHead.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jsh_account_head
 * @Author: jeecg-boot
 * @Date:   2024-07-28
 * @Version: V1.0
 */
@Data
@TableName("jsh_account_head")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jsh_account_head对象", description="jsh_account_head")
public class JshAccountHead implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.Integer id;
	/**类型(支出/收入/收款/付款/转账)*/
	@Excel(name = "类型(支出/收入/收款/付款/转账)", width = 15)
    @ApiModelProperty(value = "类型(支出/收入/收款/付款/转账)")
    private java.lang.String type;
	/**单位Id(收款/付款单位)*/
	@Excel(name = "单位Id(收款/付款单位)", width = 15)
    @ApiModelProperty(value = "单位Id(收款/付款单位)")
    private java.lang.Integer organId;
	/**经手人id*/
	@Excel(name = "经手人id", width = 15)
    @ApiModelProperty(value = "经手人id")
    private java.lang.Integer handsPersonId;
	/**操作员*/
	@Excel(name = "操作员", width = 15)
    @ApiModelProperty(value = "操作员")
    private java.lang.Integer creator;
	/**变动金额(优惠/收款/付款/实付)*/
	@Excel(name = "变动金额(优惠/收款/付款/实付)", width = 15)
    @ApiModelProperty(value = "变动金额(优惠/收款/付款/实付)")
    private java.math.BigDecimal changeAmount;
	/**优惠金额*/
	@Excel(name = "优惠金额", width = 15)
    @ApiModelProperty(value = "优惠金额")
    private java.math.BigDecimal discountMoney;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
    @ApiModelProperty(value = "合计金额")
    private java.math.BigDecimal totalPrice;
	/**账户(收款/付款)*/
	@Excel(name = "账户(收款/付款)", width = 15)
    @ApiModelProperty(value = "账户(收款/付款)")
    private java.lang.Integer accountId;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private java.lang.String billNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date billTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**附件名称*/
	@Excel(name = "附件名称", width = 15)
    @ApiModelProperty(value = "附件名称")
    private java.lang.String fileName;
	/**状态，0未审核、1已审核、9审核中*/
	@Excel(name = "状态，0未审核、1已审核、9审核中", width = 15)
    @ApiModelProperty(value = "状态，0未审核、1已审核、9审核中")
    private java.lang.String status;
	/**单据来源，0-pc，1-手机*/
	@Excel(name = "单据来源，0-pc，1-手机", width = 15)
    @ApiModelProperty(value = "单据来源，0-pc，1-手机")
    private java.lang.String source;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private java.lang.Integer tenantId;
	/**删除标记，0未删除，1删除*/
	@Excel(name = "删除标记，0未删除，1删除", width = 15)
    @ApiModelProperty(value = "删除标记，0未删除，1删除")
    private java.lang.String deleteFlag;
}
